﻿//************************************************************ 
// Copyright © 2009 - 2010 Oleg Stuhin & Rostislav Haitovich
// To learn more about Mytrip.Mvc.Entyty visit 
// http://starterkitmytripmvc.codeplex.com/
// mytripmvc@gmail.com
// license: Microsoft Public License (Ms-PL) 
// ***********************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mytrip.Theme
{
    /// <summary>
    /// LoginThemeLanguageElements
    /// </summary>
   public static class LoginThemeLanguageElements
   {
       /// <summary>
       /// (blue)color: #4b6c9e;
       /// (green)color: #fff;
       /// display: block;
       /// text-align: right;
       /// </summary>
       /// <returns>static string</returns>
       public static string topmenudisplay()
       {
           StringBuilder result = new StringBuilder();
           if (ThemeSetting.theme() == "blue")
           {
               result.AppendLine("color: #4b6c9e;");
           }
           if (ThemeSetting.theme() == "gray")
           {
               result.AppendLine("color: #333;");
           }
           if (ThemeSetting.theme() == "green")
           {
               result.AppendLine("color: #fff;");
           }
           result.AppendLine("display: block;");
           result.AppendLine("text-align: right;");
           return result.ToString();
       }
       /// <summary>
       /// (blue)color: #034af3;
       /// (green)color: #fff;
       /// text-decoration: none;
       /// </summary>
       /// <returns>static string</returns>
       public static string topmenudisplay_a_link()
       {
           StringBuilder result = new StringBuilder();
           if (ThemeSetting.theme() == "blue")
           {
               result.AppendLine("color: #034af3;");
           }
           if (ThemeSetting.theme() == "gray")
           {
               result.AppendLine("color: #333;");
           }
           if (ThemeSetting.theme() == "green")
           {
               result.AppendLine("color: #fff;");
           }
           result.AppendLine("text-decoration: none;");
           return result.ToString();
       }
       /// <summary>
       /// (blue)color: #034af3;
       /// (green)color: #fff;
       /// text-decoration: none;
       /// </summary>
       /// <returns>static string</returns>
       public static string topmenudisplay_a_visited()
       {
           StringBuilder result = new StringBuilder();
           if (ThemeSetting.theme() == "blue")
           {
               result.AppendLine("color: #034af3;");
           }
           if (ThemeSetting.theme() == "gray")
           {
               result.AppendLine("color: #333;");
           }
           if (ThemeSetting.theme() == "green")
           {
               result.AppendLine("color: #fff;");
           }
           result.AppendLine("text-decoration: none;");
           return result.ToString();
       }
       /// <summary>
       /// (blue)color: #034af3;
       /// (green)color: #fff;
       /// text-decoration: none;
       /// </summary>
       /// <returns>static string</returns>
       public static string topmenudisplay_a_hover()
       {
           StringBuilder result = new StringBuilder();
           if (ThemeSetting.theme() == "blue")
           {
               result.AppendLine("color: #034af3;");
           }
           if (ThemeSetting.theme() == "gray")
           {
               result.AppendLine("color: #333;");
           }
           if (ThemeSetting.theme() == "green")
           {
               result.AppendLine("color: #fff;");
           }
           result.AppendLine("text-decoration: none;");
           return result.ToString();
       }
       /// <summary>
       /// margin: 0;
       /// padding: 0;
       /// display: inline;
       /// text-align: right;
       /// </summary>
       /// <returns>static string</returns>
       public static string topmenudisplay_ul_topmenudisplay_ul_li()
       {
           StringBuilder result = new StringBuilder();
           result.AppendLine("margin: 0;");
           result.AppendLine("padding: 0;");
           result.AppendLine("display: inline;");
           result.AppendLine("text-align: right;");
           return result.ToString();
       }
       /// <summary>
       /// float: right;
       /// position:relative;
       /// </summary>
       /// <returns>static string</returns>
       public static string topmenudisplay_ul_li()
       {
           StringBuilder result = new StringBuilder();
           result.AppendLine("float: right;");
           result.AppendLine("position:relative;");
           return result.ToString();
       }
       /// <summary>
       /// (blue)border: solid 1px #4b6c9e;
       /// (blue)background-color: #e8eef4;
       /// (green)border: solid 1px #f49a24;
       /// (green)background-color: #f49a24;
       /// border-top:0;
       /// text-decoration: none;
       /// display: block;
       /// padding: 2px 5px;
       /// white-space: nowrap;
       /// </summary>
       /// <returns>static string</returns>
       public static string topmenudisplay_ul_li_a()
       {
           StringBuilder result = new StringBuilder();
           if (ThemeSetting.theme() == "blue")
           {
               result.AppendLine("border: solid 1px #4b6c9e;");
               result.AppendLine("background-color: #e8eef4;");
           }
           if (ThemeSetting.theme() == "gray")
           {
               result.AppendLine("border: solid 1px #000;");
               result.AppendLine("background-color: #eee;");
           }
           if (ThemeSetting.theme() == "green")
           {
               result.AppendLine("border: solid 1px #f49a24;");
               result.AppendLine("background-color: #f49a24;");
           }
           result.AppendLine("border-top:0;");
           result.AppendLine("text-decoration: none;");
           result.AppendLine("display: block;");
           result.AppendLine("padding: 2px 5px;");
           result.AppendLine("white-space: nowrap;");
           return result.ToString();
       }
       /// <summary>
       /// (blue)background-color: #fff;
       /// (green)background-color: #F3951B;
       /// text-decoration: none;
       /// </summary>
       /// <returns>static string</returns>
       public static string topmenudisplay_ul_li_a_hover()
       {
           StringBuilder result = new StringBuilder();
           if (ThemeSetting.theme() == "blue")
           {
               result.AppendLine("background-color: #fff;");
           }
           if (ThemeSetting.theme() == "gray")
           {
               result.AppendLine("background-color: #ccc;");
           }
           if (ThemeSetting.theme() == "green")
           {
               result.AppendLine("background-color: #F3951B;");
           }
           result.AppendLine("text-decoration: none;");
           return result.ToString();
       }
       /// <summary>
       /// display: none;
       /// position:absolute;
       /// top:24px;
       /// </summary>
       /// <returns>static string</returns>
       public static string topmenudisplay_ul_li_ul()
       {
           StringBuilder result = new StringBuilder();
           result.AppendLine("display: none;");
           result.AppendLine("position:absolute;");
           result.AppendLine("top:24px;");
           return result.ToString();
       }
       /// <summary>
       /// float: right;
       /// display:block;
       /// </summary>
       /// <returns>static string</returns>
       public static string topmenudisplay_ul_li_ul_li()
       {
           StringBuilder result = new StringBuilder();
           result.AppendLine("float: right;");
           result.AppendLine("display:block;");
           return result.ToString();
       }
       /// <summary>
       /// display:block;
       /// </summary>
       /// <returns>static string</returns>
       public static string topmenudisplay_ul_li_ul_li_a()
       {
           StringBuilder result = new StringBuilder();
           result.AppendLine("display:block;");
           return result.ToString();
       }
    }
}
